<?php if(empty($publicList)&&empty($privateList)){ //判断有无数据来输出不同内容 ?>

    <div class="panel" style="min-height: 200px;line-height: 200px;text-align: center;color: #bbb;font-size: 24px;border: 1px dashed #aaa;">
        <span>把计划写下来，你已经成功了一半！</span>
    </div>


<?php }else{ ?>
<!--添加界面引导 BY zmx-->
    <div class="panel modal-open" data-position="bottom" data-intro="在这里可以预览你写的工作计划">
        <style>
            .planList{ width:50%; box-sizing:border-box; padding:20px; min-height:100px; position:relative; float:left;}
            .planTitl{ padding:3px 10px; border-radius:10px; position:absolute;left:50%; margin-left:-50px; background:#6dc4a2; color:white;}
            .planCont{ border-bottom:1px solid #ddd; border-top:1px solid #ddd; list-style:none; padding:0; margin-top:13px;}
            .planCont li{ height:60px; display:block; line-height:60px; padding:0 20px;}
            .planCont li:hover{ background:#f7f7f7; cursor:pointer;}
            .planCont li span{ color:#666;}
            .planCont > :nth-child(2n){ background:#f9f9f9;}
        </style>
        <?php $empty="<li><span>暂无计划</span></li>"; ?>
        <!--添加界面引导 BY zmx-->
        <div class="planList" data-position="bottom" data-intro="私密的计划，只有你自己可以看到">
            <div class="planTitl">未分享计划>></div>
            <ul class="planCont">
                <volist name="privateList" id="vo" empty="$empty">
                    <li onClick="_openWindow('{:U('edit', array('id' => $vo['id']))}', 650, '修改日志', '保存', null, '');">
                        <span>{$vo.title}</span>
                        <span class="pull-right">{:date('Y-m-d',$vo['datetime'])}</span>
                    </li>
                </volist>
            </ul>
        </div>
        <!--添加界面引导 BY zmx-->
        <div class="planList" data-position="bottom" data-intro="公开的计划，所以人都可以看得到">
            <div class="planTitl">已分享计划>></div>
            <ul class="planCont">
                <volist name="publicList" id="vo" empty="$empty">
                    <li onClick="_openWindow('{:U('edit', array('id' => $vo['id']))}', 650, '修改日志', '保存', null, '');">
                        <span>{$vo.title}</span>
                        <span class="pull-right">{:date('Y-m-d',$vo['datetime'])}</span>
                    </li>
                </volist>
            </ul>
        </div>
    </div>

<?php } ?>